package com.copm.ifm.servers.sys.vo;

import com.copm.ifm.base.api.pojo.BaseVO;
import com.copm.ifm.base.basic.NameTag;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * 编码定义表分页返回对象
 *
 * @author tp
 * @date 2021/1/5 14:45
 */
@Setter
@Getter
@ToString
public class SysCodeDefVO extends BaseVO implements NameTag {

    private Long id;

    @ApiModelProperty("租户ID")
    private Long tenantId;

    @ApiModelProperty("项目ID")
    private Long projectId;

    @ApiModelProperty("是否删除 [0:未删除 1:已删除]")
    private Integer deleted;

    @ApiModelProperty("分类类型(包括:EQ(设备编码)、MA(物料编码))")
    private String type;

    @ApiModelProperty("分类ID")
    private Long categoryId;

    @ApiModelProperty("分类码模板")
    private String categoryCodeTemplate;

    @ApiModelProperty("实体码模板")
    private String entityCodeTemplate;

    @ApiModelProperty("流水号位数")
    private Integer numberLen;

    @ApiModelProperty("启用状态 [0禁用 1启用]")
    private Integer enabled;

    @ApiModelProperty("创建人")
    private Long createBy;

    @ApiModelProperty("创建人名")
    private String createByName;

    @ApiModelProperty("修改人")
    private Long updateBy;

    @ApiModelProperty("修改人名")
    private String updateByName;
}
